﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Example.aspx.cs" Inherits="DreamCube.Websites.UI.Common.JQ.Controls.DateTimeControl.Example" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>调用实例</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <input type="text" id="txt_datetime1" dataType="yyyy-MM" value="2014-01" />
        <input type="text" id="txt_datetime2" dataType="yyyy-MM-dd" value="2014-01-01" />
        <input type="text" id="txt_datetime3" dataType="yyyy-MM-dd HH:mm:ss" value="1899-11-30 15:00:00" />
    </div>
    <DC:MyJS runat="server" />
    <DC:JQJS runat="server" />
    <DC:DatetimeControl runat="server" />
    </form>
</body>
</html>
 <script type="text/javascript">
     $(document).ready(function () {
         DateTimePanel.setDateTimeEl("txt_datetime1", true);
         DateTimePanel.setDateTimeEl("txt_datetime2", true);
         DateTimePanel.setDateTimeEl("txt_datetime3", true);
     });
</script>
